/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package score;

/**
 *
 * @author Daniel Gribel
 */
public class WeightedScore extends Score {
    
    private int weight;

    public WeightedScore(int weight) {
        super();
        this.weight = weight;
    }

    @Override
    public void applyScore(int counter) {
        setFinalScore(counter * weight);
    }
    
    
}
